package com.xjh.t.controller;

import org.apache.commons.lang3.StringUtils;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("sys")
public class SystemController {

    @RequestMapping(value = "toLogin")
    public String toLogin()
    {
        return "system/index/login";
    }

    @RequestMapping(value = "index")
    public String index()
    {
        return "system/index/index";

    }

    @RequestMapping(value = "toDeskManager")
    public String toDeskManager()
    {
        return "system/index/deskManager";

    }
    @RequestMapping("toLoginfoManager")
    public String toLoginfoManager()
    {
        return "system/loginfo/loginfoManager";
    }

    @RequestMapping("toNoticeManager")
    public String toNoticeManager()
    {
        return "system/notice/noticeManager";
    }

    @RequestMapping("toDeptManager")
    public String toDeptManager()
    {
        return "system/dept/deptManager";
    }

    @RequestMapping("toDeptLeft")
    public String toDeptLeft()
    {
        return "system/dept/deptLeft";
    }

    @RequestMapping("toDeptRight")
    public String toDeptRight()
    {
        return "system/dept/deptRight";
    }

    @RequestMapping("toMenuManager")
    public String toMenuManager()
    {
        return "system/menu/menuManager";
    }

    @RequestMapping("toMenuLeft")
    public String toMenuLeft()
    {
        return "system/menu/menuLeft";
    }

    @RequestMapping("toMenuRight")
    public String toMenuRight()
    {
        return "system/menu/menuRight";
    }

    @RequestMapping("toPermissionManager")
    public String toPermissionManager()
    {
        return "system/permission/permissionManager";
    }

    @RequestMapping("toPermissionLeft")
    public String toPermissionLeft()
    {
        return "system/permission/permissionLeft";
    }

    @RequestMapping("toPermissionRight")
    public String toPermissionRight()
    {
        return "system/permission/permissionRight";
    }

    @RequestMapping("toRoleManager")
    public String toRoleManager()
    {
        return "system/role/roleManager";
    }

    @RequestMapping("tocustomManager")
    public String toCustomManager()
    {
        return "system/role/roleManager";
    }

    @RequestMapping("toUserManager")
    public String toUserManager()
    {
        return "system/user/userManager";

    }
    @RequestMapping("toChangePwd")
    public String toChangePwd()
    {
        return "system/user/changePwd";

    }

    @RequestMapping("toEnglishWordsManager")
    public String toEnglishWordsManager()
    {
        return "education/englishwords/wordsManager";

    }

    @RequestMapping("tosentenceManager")
    public String tosentenceManager()
    {
        return "education/sentence/sentenceManager";

    }

    @RequestMapping("toclasslevelManager")
    public String toclasslevelManager()
    {
        return "education/classlevel/classlevelManager";

    }

    @RequestMapping("tolessonManager")
    public String tolessonManager()
    {
        return "education/lesson/lessonManager";

    }
    @RequestMapping("toexaminationManager")
    public String toexaminationManager()
    {
        return "education/examination/examinationManager";

    }
}
